﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;

namespace SimpleLibrary.Components
{
    class UserListItem : ListBoxItem
    {
        public UserListItem()
        {
            Padding = new Thickness(0, 5, 0, 5);
            Height = 35;
            HorizontalContentAlignment = HorizontalAlignment.Center;
            VerticalContentAlignment = VerticalAlignment.Center;
        }
        public String ID;
        private String _name;
        public String UserName
        {
            get { return _name; }
            set
            {
                _name = value;
                Content = _name;
            }
        }
        public string PhoneNo { get; set; }

        public string MailId { get; set; }

        public string Address { get; set; }
    }
}
